package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Cat
 * @date 2024/5/28 11:45
 */
@Mapper
public interface NursingProjectMapper {

    Page<NursingProjectVo> selectByPage(@Param("name") String name, @Param("status") Integer status);
    void insert(NursingProject nursingProject);//新增
    void update(NursingProject nursingProject);//修改
    void deleteById(Long id);//根据删除
    NursingProject selectById(Long id);//根据id查询

}
